projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa4e833
)
places: Fix crash when disconnecting
author
Corey Berla
<corey@berla.me>
Wed, 27 Apr 2022 19:16:11 +0000
(12:16 -0700)
committer
António Fernandes
<antoniof@gnome.org>
Sat, 7 May 2022 17:22:15 +0000
(18:22 +0100)
After disconnecting a network mount in places (when there's 2 or more
mounts), right clicking another mount crashes the application.
Set row_for_action to NULL when successfully unmounted.
gtk/gtkplacesview.c
patch
|
blob
|
history
diff --git
a/gtk/gtkplacesview.c
b/gtk/gtkplacesview.c
index cb13276513c502202aab5284e3f4cd8ed5e299a5..a8ac3613a439276c8d83e13ad5ea95eceaca6849 100644
(file)
--- a/
gtk/gtkplacesview.c
+++ b/
gtk/gtkplacesview.c
@@
-1319,6
+1319,7
@@
volume_mount_ready_cb (GObject *source_volume,
return;
}
+ view->row_for_action = NULL;
view->mounting_volume = FALSE;
update_loading (view);